\hypertarget{classduye_1_1_accept_socket}{\section{duye\-:\-:Accept\-Socket Class Reference}
\label{classduye_1_1_accept_socket}\index{duye\-::\-Accept\-Socket@{duye\-::\-Accept\-Socket}}
}


\hyperlink{classduye_1_1_multicast}{Multicast}.  




{\ttfamily \#include $<$duye\-\_\-socket.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_accept_socket_a34f46f987a981d009d8af726727cf89d}{{\bfseries Accept\-Socket} (const int32 \hyperlink{classduye_1_1_accept_socket_a5afb579faac1c08d8a076d18c016a61f}{sockfd})}\label{classduye_1_1_accept_socket_a34f46f987a981d009d8af726727cf89d}

\item 
bool \hyperlink{classduye_1_1_accept_socket_aaa995a8347ee3cf091b05536e7146ebf}{close} (const int32 how=2)
\begin{DoxyCompactList}\small\item\em shutdown connecting \end{DoxyCompactList}\item 
int32 \hyperlink{classduye_1_1_accept_socket_a5afb579faac1c08d8a076d18c016a61f}{sockfd} () const 
\begin{DoxyCompactList}\small\item\em get sock fd \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classduye_1_1_multicast}{Multicast}. 

\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_accept_socket_aaa995a8347ee3cf091b05536e7146ebf}{\index{duye\-::\-Accept\-Socket@{duye\-::\-Accept\-Socket}!close@{close}}
\index{close@{close}!duye::AcceptSocket@{duye\-::\-Accept\-Socket}}
\subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Accept\-Socket\-::close (
\begin{DoxyParamCaption}
\item[{const int32}]{how = {\ttfamily 2}}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_accept_socket_aaa995a8347ee3cf091b05536e7146ebf}


shutdown connecting 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em how} & \-: default is 2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
how = 0 \-: stop receive data how = 1 \-: stop send data how = 2 \-: both above way 
\end{DoxyNote}
\hypertarget{classduye_1_1_accept_socket_a5afb579faac1c08d8a076d18c016a61f}{\index{duye\-::\-Accept\-Socket@{duye\-::\-Accept\-Socket}!sockfd@{sockfd}}
\index{sockfd@{sockfd}!duye::AcceptSocket@{duye\-::\-Accept\-Socket}}
\subsubsection[{sockfd}]{\setlength{\rightskip}{0pt plus 5cm}int32 duye\-::\-Accept\-Socket\-::sockfd (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classduye_1_1_accept_socket_a5afb579faac1c08d8a076d18c016a61f}


get sock fd 

\begin{DoxyReturn}{Returns}
sock fd 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/system/\hyperlink{duye__socket_8h}{duye\-\_\-socket.\-h}\end{DoxyCompactItemize}
